﻿Jxstar.currentPage = function() {
	var config = {param:{},initpage:function(page, define){},eventcfg:{}};
	
		var items = [{
		border:false,
		layout:'form',
		autoHeight:true,
		cls:'x-form-main',
		items:[{
			anchor:'100%',
			border:false,
			layout:'column',
			autoHeight:true,
			items:[{
				border:false,
				columnWidth:0.33,
				layout:'form',
				items:[
					{xtype:'textfield', fieldLabel:'系统代号', name:'rest_log__appid', readOnly:true, anchor:'100%', maxLength:20},
					{xtype:'hidden', fieldLabel:'访问URL', name:'rest_log__req_url', anchor:'100%'}
				]
			},{
				border:false,
				columnWidth:0.33,
				layout:'form',
				items:[
					{xtype:'datefield', fieldLabel:'访问时间', name:'rest_log__req_date', format:'Y-m-d H:i:s', anchor:'100%', readOnly:true},
					{xtype:'hidden', fieldLabel:'主键', name:'rest_log__log_id', anchor:'100%'}
				]
			},{
				border:false,
				columnWidth:0.33,
				layout:'form',
				items:[
					{xtype:'textfield', fieldLabel:'执行结果', name:'rest_log__return_vax', readOnly:true, anchor:'100%', maxLength:10}
				]
			}
			]
		},{
			anchor:'100%',
			border:false,
			layout:'column',
			autoHeight:true,
			items:[{
				border:false,
				columnWidth:0.99,
				layout:'form',
				items:[
					{xtype:'textarea', fieldLabel:'请求参数', name:'rest_log__req_params', readOnly:true, anchor:'100%', height:90, maxLength:1000},
					{xtype:'textarea', fieldLabel:'响应数据', name:'rest_log__out_params', readOnly:true, anchor:'100%', height:240, maxLength:2000},
					{xtype:'textarea', fieldLabel:'错误信息', name:'rest_log__return_msg', readOnly:true, anchor:'100%', height:90, maxLength:200}
				]
			}
			]
		}]
	}];
	
	config.param = {
		items: items,
		funid: 'rest_log'
	};

	
	
	
	return new Jxstar.FormNode(config);
}